package com.asuka.service;

import com.asuka.entity.AddressBook;

import java.util.List;

public interface AddressBookService {

    void insert(AddressBook addressBook);

    List<AddressBook> selectListByUserId();

    AddressBook selectDefaultAdress();

    void updateById(AddressBook address);

    void deleteById(Long id);

    AddressBook selectById(Long id);

    void updateDefaultAdress(Long id);
}
